
//https://caijinglong.github.io/json2dart/index_ch.html
//flutter pub run build_runner build

class BaseModel extends Object {

  dynamic data;
  int? errorCode;
  String? errorMsg;

  BaseModel._({
    this.data,
    this.errorCode,
    this.errorMsg,
  });

  static BaseModel fromJson(Map<String, dynamic> map) {
    return BaseModel._(
      data: map['data'],
      errorCode: map['errorCode'],
      errorMsg: map['errorMsg'],
    );
  }

}


